package org.csu.jpetstore_cms.service;


import lombok.Data;
import org.apache.ibatis.annotations.Param;
import org.csu.jpetstore_cms.pojo.Account;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public interface AccountService {

    List<Account> findAll();

    Account findByID(String id);

    void updateAccountInfo(Account account);

    void insertAccount(Account account);
    List<Account> findByPage(Integer pageNum,Integer pageSize);
}
